<script language="javascript">
if (external.menuArguments) 
{
    var parentwin = external.menuArguments;
    var descn=parentwin.document.selection?
    (parentwin.document.selection.type!='None'?
    parentwin.document.selection.createRange().text:''):
    (parentwin.document.getSelection?
    parentwin.document.getSelection():'');
	var url = parentwin.location.href;
	var title = parentwin.document.title;
	if (parentwin.event.srcElement.tagName == "A") {
		url = parentwin.event.srcElement.getAttribute("HREF");
		title = parentwin.event.srcElement.innerText;
	}

	void(window.open('editRootTag.html?decorator=simple&confirm=true&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(url)+'&descn='+encodeURIComponent(descn),'snippet','scrollbars=no,width=800,height=470,left=80,top=80,status=no,resizable=yes'));
}
else
{
    history.go(-1);
}
</script>